package com.hao.epidemic_prevention.dao;

import com.hao.epidemic_prevention.bean.Admin;
import org.springframework.stereotype.Repository;

import javax.websocket.server.PathParam;

@Repository
public interface AdminMapper {
    Admin getAdminByUsername(@PathParam("username") String username);
    Admin getAdminByUsernameAndPassword(Admin admin);
}
